using System;
using System.Collections.Generic;
using System.Text;

namespace Registro
{
    class Util
    {
        public static void Ordenar(Ordenable[] ord){

            for (int i = 0; i < ord.Length; i++) {
                for (int j = 0; j < ord.Length; j++) {
                    if (ord[i].MayorQue(ord[j]))
                    {
                        Ordenable o = ord[j];
                        ord[j] = ord[i];
                        ord[i] = o;
                    }
                
                }
            }
            
        }
    }
}
